#include "head.h" 
void find_first(Node *phead_F){
	Node *p = phead_F->next;
	show_F(p);
	return;
}
 
void find_late(Node *phead_F){
	Node *p = phead_F->next;
	while(p->next){
		p = p->next;
	}
	show_F(p);
	return;
}

void find(Node *phead_F, char *str){
	Node *p = phead_F->next;
	while(p){
		Faculty *s = (Faculty*)malloc(sizeof(Faculty));
		s = (Faculty*)p->data;
		if(strcmp(str, s->name) == 0){
			show_F(p);
			return;
		}
		p = p->next;
	}
	printf("查无此人!\n"); 
	return;
}